﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Common;
using System.Web.Mvc;

namespace ElectrosLtd.Models
{
    public class RatingsModel
    {
        public Rating UsersRating { get; set; }
        public int ProductID { get; set; }
        public int RatingID { get; set; }
        public SelectList RatingList { get; set; }

        public RatingsModel()
        {
            RatingList = new SelectList(new ElectrosLtd.UsersServ.WCFUsersClient().GetRatingsOptions(), "ID", "Value");
        }
    }
}